var express = require('express');
var router = express.Router();
var path = require('path');
var config = require('../config/config.js')

router.get('/mark', function(req, res, next) {
    let filePath = config.ROOTPATH + '/files/mark.txt';
    console.log(filePath);
    res.download(filePath, function(err) {
        console.log(err);
    });
})


module.exports = router;